<style>
  .form_err {color:red; font-size: 90%; font-style:italic}
</style>
    
<div style="margin:10px">
    <h1>User groups management</h1>
    <div>
        <a href="index.php?m=admin_groups">Danh sách nhóm</a> | Tạo nhóm mới
    </div>
    
    <div style="background: #eee; padding:20px;width: 300px;text-align: left;margin:20px auto">
        <?if($error):?><div class="error">Something wrong! <?=$error?></div><?endif?>    
        <form action="index.php?m=admin_groups&a=create&s=submit" method="POST" style="margin: 10px 30px;">
        Group name:<br/>
        <input type="text" name="group_name" value="<?=$data['group_name']?>"><br/>
        Group description:<br/>
        <input type="text" name="group_description" value="<?=$data['group_description']?>"><br/>
        <input type="submit" value="Create Group"><br/>
        </form>
    </div>   
</div>